<div id="template-holder">
  <script type="text/template" id="template-tipsBox">
    <div class="modal fade alert-box tips-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-body">
            <i class="icon icon-i"></i>
            <p>{{message}}</p>
            <a type="button" class="tips-box-sure-btn btn btn-gray" data-dismiss="modal" aria-hidden="true">确定</a>
          </div>
        </div>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-commonConfirm">
    <div class="modal fade alert-box common-confirm-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-body">
            <i class="icon icon-i"></i>
            <p>{{message}}</p>
            <a type="button" class="confirm-box-cancel-btn btn btn-gray margin-right-20" data-dismiss="modal" aria-hidden="true">取消</a>
            <a type="button" class="confirm-box-sure-btn btn btn-primary" data-dismiss="modal" aria-hidden="true">确定</a>
          </div>
        </div>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-dialogTipsBox">
    <div class="modal fade alert-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">{{title}}</h3>
          </div>
          <div class="modal-body clearfix text-left">
            {{message}}
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-confirmBox">
    <div class="modal fade alert-box aw-confirm-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header margin-bottom-20 text-center">
            <h3 class="modal-title" id="myModalLabel">{{title}}</h3>
          </div>
          <div class="modal-body text-center">
            {{message}}
          </div>
          <div class="modal-footer text-center">
            <a class="btn btn-primary yes margin-top-20">确定</a>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-tips-success">
    <div class="modal fade success">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-body clearfix text-center">
            <i class="icon icon-followed"></i>
            {{tips}}
          </div>
        </div>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-tips-error">
    <div class="modal fade error">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-body clearfix text-center">
            <i class="icon icon-i"></i>
            <div class="margin-bottom-20">
              {{message}}
            </div>
            <a class="btn btn-gray" data-dismiss="modal" aria-hidden="true">确定</a>
          </div>
        </div>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-relationshipApplyBox">
    <div class="modal fade">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">{{title}}</h3>
            <p class="text-center">
              {{data.name}}
            </p>
          </div>
          <div class="modal-body clearfix text-center">
            <form id="relationship_apply_form" action="relationship/ajax/send_link_request/" method="post" onsubmit="return false;">
              <input type="hidden" name="id" value="{{data.id}}"/>
              <div class="alert alert-danger hide error_message">
                <i class="icon icon-delete"></i>
                <em></em>
              </div>
              <textarea class="form-control" name="note" rows="5" placeholder="请输入请求留言..."></textarea>
              <p class="margin-top-10 text-center font-size-12 color-999">
							对方同意后, 他将看到你的祖源信息。
						</p>
              <div class="control clearfix">
                <a class="btn btn-primary margin-top-20" onclick="AWS.ajax_post($('#relationship_apply_form'));">确定</a>
              </div>
            </form>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-reportFeedbackBox">
    <div class="modal fade alert-box report-feedback-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">{{title}}</h3>
          </div>
          <div class="modal-body clearfix text-center">
            <form id="report_feedback_form" action="report/ajax/case_error_report/" method="post" onsubmit="return false;"><input type="hidden" name="caseid" value="{{data.caseid}}"/>
              <div class="mod-body">
                <h2>{{data.desc}}</h2>
                <select name="reason" class="form-control reason"></select>
                <a class="btn btn-primary btn-submit margin-top-20">提交</a>
              </div>
            </form>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-interpretAuthorityBox">
    <div class="modal fade alert-box interpret-authority-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">{{title}}</h3>
          </div>
          <div class="modal-body clearfix text-center">
            <div class="mod-body">
              <h3>是否授权 WeGene 提取当前用户的原始数据以查看结果?</h3>
              <p class="font-size-12 color-999">
							* 授权后，您的原始数据仅会被用在当次的计算中，开发者无法获取您的原始数据与计算结果。
						</p>
              <a class="btn btn-primary btn-submit pull-right margin-top-20">授权</a>
              <a class="btn btn-gray pull-left margin-top-20"  data-dismiss="modal" aria-hidden="true">取消</a>
            </div>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-researchNutritionBox">
    <div class="modal fade alert-box searchsleeps-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">{{title}}</h3>
          </div>
          <div class="modal-body clearfix">
            <div class="mod-body">
              <h3>我该如何导入我的可穿戴设备数据？</h3>
              <p>目前，WeGene 正与硅谷知名健康数据管理公司 HumanAPI合作，引入了其提供的可穿戴设备数据同步方案。在睡眠研究页面上点击“绑定可穿戴设备”或“管理我的设备”按钮，您可以在弹窗中选择您所使用的可穿戴设备，并用您在该设备上的账号密码登录授权WeGene 获取数据。一旦通过授权，您之后每次在设备上产生并同步了新的健康数据后，WeGene 将会自动获取到更新的数据用于更新您的报告。如果不再想让WeGene 接收到新的数据，可以在设备管理页面上选择取消授权。注意：如果您要在同一个浏览器上绑定不同账号或报告的多个可穿戴设备，因为某些设备供应商的网站会自动在浏览器中记录登录授权状态，请在绑定第一份数据后，到设备供应商的网站上退出登录再绑定其他账号。</p>
              <h3>没有我所使用的设备？</h3>
              <p>如果您所使用的设备不在设备管理的页面上，您可以选择其中的“没有我的设备”来提交一个设备支持请求。您也可以直接联系WeGene 并由我们来发起请求。</p>
              <h3>数据同步以后报告没有刷新？</h3>
              <p>由于数据在从设备到WeGene 的同步过程中需要通过HumanAPI中转，因此一般会存在一定的同步时间。您可以稍后再回来查看报告。如果报告长时间没有刷新，您可以联系WeGene 获得技术支持。</p>
              <h3>为何有些数据显示“暂无数据”？</h3>
              <p>由于不同的可穿戴设备所记录的数据略有不同，有些数据在某些可穿戴设备中没有被记录。这样的数据会显示为“暂无数据”。</p>
              <h3>WeGene 会如何使用我的健康数据？</h3>
              <p>结合人群的健康及基因信息，WeGene 会进行一些有趣的研究，期以发掘出基因未知的奥秘。在这个过程中，WeGene 可能会使用您的健康数据及已绑定的基因数据进行分析。我们将采用一切合理的技术和组织安全措施保护您健康和个人信息的隐私。您随时可以选择取消授权，停止同步数据到WeGene。</p>
            </div>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-searchsleepsBox">
    <div class="modal fade alert-box searchsleeps-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">{{title}}</h3>
          </div>
          <div class="modal-body clearfix">
            <div class="mod-body">
              <h3>睡眠研究页面是做什么的？</h3>
              <p>在睡眠研究页面上，您可以选择从多种可穿戴设备中向WeGene 导入您的健康数据。WeGene 会结合您的实际睡眠情况及您在WeGene 所有的基因组信息，为您生成一份个性化的睡眠报告。</p>
              <h3>我该如何导入我的可穿戴设备数据？</h3>
              <p>目前，WeGene 正与硅谷知名健康数据管理公司 HumanAPI合作，引入了其提供的可穿戴设备数据同步方案。在睡眠研究页面上点击“绑定可穿戴设备”或“管理我的设备”按钮，您可以在弹窗中选择您所使用的可穿戴设备，并用您在该设备上的账号密码登录授权WeGene 获取数据。一旦通过授权，您之后每次在设备上产生并同步了新的健康数据后，WeGene 将会自动获取到更新的数据用于更新您的报告。如果不再想让WeGene 接收到新的数据，可以在设备管理页面上选择取消授权。注意：如果您要在同一个浏览器上绑定不同账号或报告的多个可穿戴设备，因为某些设备供应商的网站会自动在浏览器中记录登录授权状态，请在绑定第一份数据后，到设备供应商的网站上退出登录再绑定其他账号。</p>
              <h3>没有我所使用的设备？</h3>
              <p>如果您所使用的设备不在设备管理的页面上，您可以选择其中的“没有我的设备”来提交一个设备支持请求。您也可以直接联系WeGene 并由我们来发起请求。</p>
              <h3>数据同步以后报告没有刷新？</h3>
              <p>由于数据在从设备到WeGene 的同步过程中需要通过HumanAPI中转，因此一般会存在一定的同步时间。您可以稍后再回来查看报告。如果报告长时间没有刷新，您可以联系WeGene 获得技术支持。</p>
              <h3>为何有些数据显示“暂无数据”？</h3>
              <p>由于不同的可穿戴设备所记录的数据略有不同，有些数据在某些可穿戴设备中没有被记录。这样的数据会显示为“暂无数据”。</p>
              <h3>WeGene 会如何使用我的健康数据？</h3>
              <p>结合人群的健康及基因信息，WeGene 会进行一些有趣的研究，期以发掘出基因未知的奥秘。在这个过程中，WeGene 可能会使用您的健康数据及已绑定的基因数据进行分析。我们将采用一切合理的技术和组织安全措施保护您健康和个人信息的隐私。您随时可以选择取消授权，停止同步数据到WeGene。</p>
            </div>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-interpretBox">
    <div class="modal fade alert-box interpret-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">{{title}}</h3>
          </div>
          <div class="modal-body clearfix text-center">
            <div class="mod-body">
              <h3>创建项目位点须为 WeGene 数据库内位点</h3>
              <div class="search-box">
                <input type="text" name="" class="form-control" placeholder="输入完整 RSID 后按下 Enter 或点击右侧图标搜索"/>
                <i class="icon icon-search"></i>
              </div>
              <div class="err color-red hide"></div>
              <div class="search-list">
                <div class="title text-color-999 text-left hide">该位点已有项目: </div>
                <ul class="hide"></ul>
              </div>
              <a class="btn btn-primary btn-disabled">创建新项目</a>
            </div>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-searchOriginBox">
    <div class="modal fade alert-box search-origin-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <form id="download_form" action="report/download/" method="post"  onsubmit="return false;">
            <div class="modal-header">
              <h3 class="modal-title text-center" id="myModalLabel">查看基因型</h3>
            </div>
            <div class="modal-body clearfix">
              <dl>
                <dt>基因名</dt>
                <dd>{{data.approved_name}}</dd>
              </dl>
              <dl>
                <dt>基因全名</dt>
                <dd>{{data.approved_symbol}}</dd>
              </dl>
              <dl>
                <dt>基因别名</dt>
                <dd></dd>
              </dl>
              <dl>
                <dt>染色体位置</dt>
                <dd>{{data.chromosome}}</dd>
              </dl>
              <dl>
                <dt>HGNC编号</dt>
                <dd>
                  <a href="http://www.genenames.org/cgi-bin/gene_symbol_report?hgnc_id={{data.hgnc_id}}" target="_blank">{{data.hgnc_id}}</a>
                </dd>
              </dl>
              <!-- // <dl>
						// 	<dt>ACCESSION 编号</dt>
						// 	<dd></dd>
						// </dl> -->
              <dl>
                <dt>ENSEMBL Gene 编号</dt>
                <dd>
                  <a href="http://www.ensembl.org/Homo_sapiens/Gene/Summary?g={{data.ensembl_gene_id}}" target="_blank">{{data.ensembl_gene_id}}</a>
                </dd>
              </dl>
              <dl>
                <dt>CCDS 编号</dt>
                <dd>{{data.ccds_ids}}</dd>
                {{#items}}
                  <li>
                    <a data-value="{{id}}">{{title}}</a>
                  </li>
                {{/items}}
              </dl>
              <dl>
                <dt>VEGA 编号</dt>
                <dd>
                  <a href="http://vega.sanger.ac.uk/Homo_sapiens/Gene/Summary?db=core;g={{data.vega_id}}" target="_blank">{{data.vega_id}}</a>
                </dd>
              </dl>
              <dl>
                <dt>ENTREZ  Gene 编号</dt>
                <dd>
                  <a href="http://view.ncbi.nlm.nih.gov/gene/{{data.entrez_gene_id}}" target="_blank">{{data.entrez_gene_id}}</a>
                </dd>
              </dl>
              <dl>
                <dt>OMIM 编号</dt>
                <dd>
                  <a href="http://www.omim.org/entry/{{data.omim_id}}" target="_blank">{{data.omim_id}}</a>
                </dd>
              </dl>
              <dl>
                <dt>REFSEQ 编号</dt>
                <dd>
                  <a href="http://www.ncbi.nlm.nih.gov/nuccore?term={{data.refseq}}" target="_blank">{{data.refseq}}</a>
                </dd>
              </dl>
              <dl>
                <dt>UCSC 编号</dt>
                <dd>
                  <a href="http://genome.cse.ucsc.edu/cgi-bin/hgGene?org=Human&hgg_chrom=none&hgg_type=knownGene&hgg_gene={{data.ucsc_id}}" target="_blank">{{data.ucsc_id}}</a>
                </dd>
              </dl>
              <dl>
                <dt>相关文献</dt>
                <dd>{{data.pubmed_ids}}</dd>
                {{#items}}
                  <li>
                    <a data-value="{{id}}">{{title}}</a>
                  </li>
                {{/items}}
              </dl>
              <dl>
                <dt>其他数据库链接</dt>
                <dd>{{data.specialist_database_links}}</dd>
                {{#items}}
                  <li>
                    <a data-value="{{id}}">{{title}}</a>
                  </li>
                {{/items}}
              </dl>
            </div>
          </form>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-dataDownload">
    <div class="modal fade alert-box dataDownload-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <form id="download_form" action="report/download/" method="post">
            <input type="hidden" name="unique_id" value="{{unique_id}}"/>
            <div class="modal-header">
              <h3 class="modal-title text-center" id="myModalLabel">{{title}}</h3>
            </div>
            <div class="modal-body clearfix">
              <div class="mod-body">
                <input type="password" name="password" class="form-control" placeholder="请输入密码"/>
              </div>
            </div>
            <div class="modal-footer">
              <button class="btn btn-primary pull-right" type="submit" onclick="$('.modal').modal('hide')">下载</button>
            </div>
          </form>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-dataDownloadExtra">
    <div class="modal fade alert-box dataDownload-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <form id="download_form" action="report/download/extra/" method="post" onsubmit="return false;">
            <input type="hidden" name="unique_id" value="{{unique_id}}"/>
            <div class="modal-header">
              <h3 class="modal-title text-center" id="myModalLabel">{{title}}</h3>
            </div>
            <div class="modal-body clearfix">
              <div class="mod-body">
                <p class="text-center tips hide">数据已经生成， 您可以进行下载了</p>
                <input type="password" name="password" class="form-control" placeholder="请输入密码"/>
                <p class="text-center tips hide">数据下载有效期至: <span></span>, 过期后数据需要重新准备</p>
              </div>
            </div>
            <div class="modal-footer">
              <a class="btn btn-primary pull-right btn-submit" onclick="AWS.ajax_post($('#download_form'))">下载</a>
            </div>
          </form>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-dataDownloadRaw">
    <div class="modal fade alert-box dataDownload-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <form id="download_form" action="report/download/wgs_raw_data_download/" method="post" onsubmit="return false;">
            <input type="hidden" name="unique_id" value="{{unique_id}}"/>
            <div class="modal-header">
              <h3 class="modal-title text-center" id="myModalLabel">{{title}}</h3>
            </div>
            <div class="modal-body clearfix">
              <div class="mod-body">
                <p class="text-center tips hide">数据已经生成， 您可以进行下载了</p>
                <div style="width:230px;margin: 0 auto;" class="alert alert-danger hide error_message">
                  <i class="icon icon-delete"></i>
                  <em></em>
                </div>
                <input type="password" name="password" class="form-control" placeholder="请输入密码"/>
                <p class="text-center tips hide">数据下载有效期至: <span></span>, 过期后数据需要重新准备</p>
              </div>
            </div>
            <div class="modal-footer">
              <a class="btn btn-primary pull-right btn-submit">下载</a>
            </div>
          </form>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-dataDownloadExtraTips">
    <div class="modal fade alert-box dataDownload-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">{{title}}</h3>
          </div>
          <div class="modal-body clearfix">
            <div class="mod-body">
              <p class="text-center">我们正在为您生成数据，这需要一点点时间...</p>
              <p class="text-center">数据生成完毕后，我们会发送网站私信通知您下载</p>
            </div>
          </div>
          <div class="modal-footer">
            <a class="btn btn-primary pull-right" data-dismiss="modal" aria-hidden="true">知道了</a>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-customerClientBox">
    <div class="modal fade alert-box customerClient-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">{{title}}</h3>
          </div>
          <div class="modal-body clearfix">
            <div class="mod-body"></div>
          </div>
          <div class="modal-footer">
            <a class="btn btn-primary disabled pull-right" onclick="AWS.ajax_request('/account/ajax/join_research_project/', 'next=' + G_RESEARCH);">我已阅读</a>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-resentBox">
    <div class="modal fade alert-box request-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">{{title}}</h3>
          </div>
          <div class="modal-body clearfix">
            <div class="mod-body">
              <div class="alert alert-danger hide error_message">
                <i class="icon icon-delete"></i>
                <em></em>
              </div>
              <p class="hide success" style="padding:40px;text-align:center;">WeGene 后台已接受您的申请，24小时内将会有工作人员与你联系。请您留意。谢谢。</p>
              <form id="request_form" action="account/ajax/add_sample_fail_request/" method="post" onsubmit="return false;">
                <input type="text" class="hide" name="process_mode" value="RESEND"/>
                <input class="hide" type="text" name="barcode" value="{{barcode}}"/>
                <input class="hide" type="text" name="order_id" value="{{user_info.order_id}}"/>
                <dl>
                  <dt>E-Mail :</dt>
                  <dd><input type="text" data-name="shipping-email" name="shipping_email" class="form-control shipping-email" value="{{user_info.email}}"></dd>
                </dl>
                <dl>
                  <dt>手机号码 :</dt>
                  <dd><input type="text" data-name="shipping-mobile" name="shipping_mobile" class="form-control shipping-mobile" value="{{user_info.shipping_mobile}}"></dd>
                </dl>
                <dl>
                  <dt>所在地区 :</dt>
                  <dd class="province" id="resend-dialog">
                    <city-selector @complete="complete"></city-selector>
                    <input type="hidden" name="province" v-model="shippingData.province"/>
                    <input type="hidden" name="city" v-model="shippingData.city"/>
                    <input type="hidden" name="dist" v-model="shippingData.dist"/>
                    <!-- <select name="province" class="prov"></select><select name="city" class="city" disabled="disabled"></select><select name="dist" class="dist" disabled="disabled"></select> -->
                  </dd>
                </dl>
                <dl>
                  <dt>详细地址 :</dt>
                  <dd>
                    <input type="text" class="form-control shipping-address" name="shipping_address" data-name="shipping-address" value="{{user_info.shipping_address}}"/>
                  </dd>
                </dl>
                <dl>
                  <dt>留言 :</dt>
                  <dd>
                    <input class="form-control" type="text" name="message"/>
                  </dd>
                </dl>
                <dl>
                  <dt></dt>
                  <dd>
                    <a class="btn btn-primary pull-right" onclick="AWS.ajax_post($('#request_form'), '', 'refund_processer');">提交</a>
                  </dd>
                </dl>
              </form>
            </div>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-refundBox">
    <div class="modal fade alert-box request-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">{{title}}</h3>
          </div>
          <div class="modal-body clearfix">
            <div class="mod-body">
              <div class="alert alert-danger hide error_message">
                <i class="icon icon-delete"></i>
                <em></em>
              </div>
              <p class="hide success" style="padding:40px;text-align:center;">WeGene 后台已接受您的申请，我们会尽快处理。请您留意邮件通知，谢谢。</p>
              <form id="request_form" action="account/ajax/add_sample_fail_request/" method="post" onsubmit="return false;">
                <input type="text" class="hide" name="process_mode" value="REFUND"/>
                <input class="hide" type="text" name="barcode" value="{{barcode}}"/>
                <input class="hide" type="text" name="order_id" value="{{user_info.order_id}}"/>
                <dl>
                  <dt>E-Mail :</dt>
                  <dd><input type="text" data-name="shipping-email" name="shipping_email" class="form-control shipping-email" value="{{user_info.email}}"></dd>
                </dl>
                <dl>
                  <dt>手机号码 :</dt>
                  <dd><input type="text" data-name="shipping-mobile" name="shipping_mobile" class="form-control shipping-mobile" value="{{user_info.shipping_mobile}}"></dd>
                </dl>
                <dl>
                  <dt>留言 :</dt>
                  <dd><input class="form-control" type="text" name="message"/></dd>
                </dl>
                <dl>
                  <dt></dt>
                  <dd>
                    <a class="btn btn-primary pull-right" onclick="AWS.ajax_post($('#request_form'), '', 'refund_processer');">提交</a>
                  </dd>
                </dl>
              </form>
            </div>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-genodataReferenceBox">
    <div class="modal fade alert-box genodataReference-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">{{title}}的参考文档</h3>
          </div>
          <div class="modal-body clearfix">
            <div class="mod-body">
              <ul></ul>
            </div>
          </div>
          <div class="modal-footer">
            <button href="javascript:;"  data-dismiss="modal" aria-hidden="true" class="btn btn-gray">关闭</button>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-imgBox">
    <div class="modal fade alert-box aw-alert-img-box {{name}}">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">{{title}}</h3>
          </div>
          <div class="modal-body">
            <p class="hide {{hide}}">{{message}}</p>
            <img src="{{url}}"/>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-inbox">
    <div class="modal fade alert-box aw-inbox">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">新私信</h3>
          </div>
          <div class="modal-body">
            <div class="alert alert-danger hide error_message">
              <i class="icon icon-delete"></i>
              <em></em>
            </div>
            <form action="inbox/ajax/send/" method="post" id="quick_publish" onsubmit="return false;">
              <input type="hidden" name="post_hash" value="{{post_hash}}"/>
              <input id="invite-input" class="form-control" type="text" placeholder="搜索用户" name="recipient" value="{{recipient}}"/>
              <div class="aw-dropdown">
                <p class="title">没有找到相关结果</p>
                <ul class="aw-dropdown-list"></ul>
              </div>
              <textarea class="form-control" name="message" rows="3" placeholder="私信内容"></textarea>
            </form>
          </div>
          <div class="modal-footer">
            <button class="btn btn-primary margin-top-20" onclick="AWS.ajax_post($('#quick_publish'), AWS.ajax_processer, 'error_message');">发送</button>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-commentBox">
    <div class="modal fade alert-box edit-comment-box aw-editor-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title" id="myModalLabel">编辑回复</h3>
          </div>
          <form action="question/ajax/update_answer/answer_id-{{answer_id}}" method="post" onsubmit="return false;" id="answer_edit">
            <div class="modal-body">
              <div class="alert alert-danger hide error_message">
                <i class="icon icon-delete"></i>
                <em></em>
              </div>
              <input type="hidden" name="attach_access_key" value="{{attach_access_key}}"/>
              <textarea name="answer_content" id="editor_reply" class="form-control" rows="10"></textarea>
            </div>
            <div class="modal-footer" style="text-align: left;">
              <button class="btn btn-primary pull-right margin-top-20 margin-left-10" onclick="AWS.ajax_post($('#answer_edit'), AWS.ajax_processer, 'ajax_post_alert');return false;">确定</button>
              <label class="margin-top-25 pull-right">
                <input id="aw-do-delete" type="checkbox" value="1" name="do_delete"/>
						删除回复
					</label>
              <div class="aw-file-upload-box margin-top-20">
                <div class="aw-upload-box">
                  <a class="btn btn-gray">上传附件</a>
                  <div class="upload-container"></div>
                </div>
              </div>
            </div>
          </form>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-haplogroupApplyBox">
    <div class="modal fade alert-box haplogroup-apply-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">{{title}}</h3>
          </div>
          <div class="modal-body">
            <div class="alert alert-danger hide error_message">
              <i class="icon icon-delete"></i>
              <em></em>
            </div>
            <form action="report/ajax/request_ancestry_link/" method="post" id="request_ancestry_link" onsubmit="return false;">
              <input type="hidden" name="post_hash" value="{{post_hash}}"/>
              <input id="invite-input" class="form-control" type="text" placeholder="请输入对方的账户邮箱..." name="email"/>
              <p class="text-left color-999">
							对方确认后, 我们将私信通知您。
						</p>
            </form>
          </div>
          <div class="modal-footer text-center">
            <button class="btn btn-primary margin-top-20" onclick="AWS.ajax_post($('#request_ancestry_link'), AWS.ajax_processer, 'error_message');">确定</button>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-weappAddPositionBox">
    <div class="modal fade alert-box weapp-add-position-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">{{title}}</h3>
          </div>
          <div class="modal-body">
            <p>
						请确保一行一个位点
					</p>
            <textarea class="form-control" name="" id="" cols="30" rows="10"></textarea>
          </div>
          <div class="modal-footer">
            <button class="btn btn-primary margin-top-20 btn-publish">确定</button>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-familyInviteBox">
    <div class="modal fade alert-box family-invite-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">{{title}}</h3>
          </div>
          <div class="modal-body">
            <form action="family/ajax/send_link_request/" id="send_link_request" method="post" onsubmit="return false;">
              <input type="text" name="relation_en" class="hide" value="{{type}}"/>
              <div class="section">
                <div class="title">邀请对象</div>
                <ul class="report-list">
                  <li>
                    <label>
                      <input class="connect-user-radio" name="connect_unique_id" value="USER" type="radio"/> WeGene用户
									</label>
                    <input class="form-control connect-user-input margin-top-10" type="text" autocomplete="off" name="connect_user_name" placeholder="输入对方用户名"/>
                    <div class="aw-dropdown">
                      <p class="title">没有找到相关结果</p>
                      <ul class="aw-dropdown-list"></ul>
                    </div>
                  </li>
                </ul>
              </div>
              <hr/>
              <div class="section base-info hide">
                <div class="title">基本信息</div>
                <dl class="relation-wrap">
                  <dt>关系：</dt>
                  <dd>
                    <select name="relation_extra" class="form-control form-mini relation brothersister">
                      <option value="兄">兄</option>
                      <option value="弟">弟</option>
                      <option value="姐">姐</option>
                      <option value="妹">妹</option>
                    </select>
                    <select name="relation_extra" class="form-control form-mini relation friends" style="display: none;">
                      <option value="朋友">朋友</option>
                      <option value="姑父">姑父</option>
                      <option value="姑妈">姑妈</option>
                      <option value="伯父">伯父</option>
                      <option value="伯母">伯母</option>
                      <option value="舅舅">舅舅</option>
                      <option value="舅妈">舅妈</option>
                      <option value="姨夫">姨夫</option>
                      <option value="姨妈">姨妈</option>
                      <option value="姐夫">姐夫</option>
                      <option value="妹夫">妹夫</option>
                      <option value="嫂嫂">嫂嫂</option>
                      <option value="弟媳">弟媳</option>
                      <option value="侄子">侄子</option>
                      <option value="侄女">侄女</option>
                      <option value="外甥">外甥</option>
                      <option value="外甥女">外甥女</option>
                      <option value="孙子">孙子</option>
                      <option value="孙女">孙女</option>
                      <option value="外孙">外孙</option>
                      <option value="外孙女">外孙女</option>
                      <option value="表兄">表兄</option>
                      <option value="表弟">表弟</option>
                      <option value="表姐">表姐</option>
                      <option value="表妹">表妹</option>
                      <option value="堂兄">堂兄</option>
                      <option value="堂弟">堂弟</option>
                      <option value="堂姐">堂姐</option>
                      <option value="堂妹">堂妹</option>
                      <option value="岳父">岳父</option>
                      <option value="岳母">岳母</option>
                      <option value="公公">公公</option>
                      <option value="婆婆">婆婆</option>
                      <option value="女婿">女婿</option>
                      <option value="媳妇">媳妇</option>
                      <option value="其他">其他</option>
                    </select>
                  </dd>
                </dl>
              </div>
              <hr class="base-info"/>
              <div class="section">
                <div class="title">留言</div>
                <textarea class="form-control" name="message" id="" cols="30" rows="3"></textarea>
              </div>
              <hr>
              <div class="section">
                <div class="alert alert-danger hide error_message margin-bottom-30">
                  <i class="icon icon-delete"></i>
                  <em></em>
                </div>
              </div>
              <div class="text-center section">
                <a class="btn btn-primary btn-submit">邀请</a>
              </div>
            </form>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-familyInviteEditBox">
    <div class="modal fade alert-box family-invite-box edit">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">{{title}}</h3>
          </div>
          <div class="modal-body">
            <form action="account/ajax/gene_profile_save/" id="update_relation_request" method="post" onsubmit="return false;">
              <input type="hidden" name="gene_profiles[{{unique_id}}]" value="{{unique_id}}"/>
              <input type="hidden" name="gene_format[{{unique_id}}]" value="{{format}}"/>
              <div class="section">
                <div class="title">基本信息</div>
                <dl>
                  <dt>姓名：</dt>
                  <dd><input type="text" class="form-control" name="name[{{unique_id}}]" value="{{name}}"/></dd>
                </dl>
                <dl>
                  <dt>性别：</dt>
                  <dd>
                    <label>
                      <input class="male" type="radio" value="1" name="sex[{{unique_id}}]">
										男
									</label>
                    <label>
                      <input class="female" type="radio" value="2" name="sex[{{unique_id}}]">
										女
									</label>
                  </dd>
                </dl>
                <dl>
                  <dt>生日：</dt>
                  <dd class="birthday" data-birthday="{{birthday}}">
                    <select class="form-control form-mini birthday-y" name="birthday_y[{{unique_id}}]"></select>
                    <select class="form-control form-mini birthday-m" name="birthday_m[{{unique_id}}]"></select>
                    <select class="form-control form-mini birthday-d" name="birthday_d[{{unique_id}}]"></select>
                  </dd>
                </dl>
                <dl class="live_province">
                  <dt>现居：</dt>
                  <dd>
                    <select class="form-control form-mini prov" name="province[{{unique_id}}]"></select>
                    <select class="form-control form-mini city" name="city[{{unique_id}}]"></select>
                  </dd>
                </dl>
                <dl>
                  <dt>职业：</dt>
                  <dd>
                    <input type="text" class="form-control" name="job[{{unique_id}}]" value="{{job}}"/>
                  </dd>
                </dl>
              </div>
              <hr/>
              <div class="text-center section">
                <a onclick="AWS.ajax_post($('#update_relation_request'), AWS.ajax_processer, 'error_message')" class="btn btn-primary btn-large">修改信息</a>
              </div>
            </form>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-familyInviteReportBox">
    <div class="modal fade alert-box family-invite-report-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">{{title}}</h3>
          </div>
          <div class="modal-body">
            <ul class="report-list"></ul>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-familyInviteProjectBox">
    <div class="modal fade alert-box family-invite-project-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">{{title}}</h3>
          </div>
          <div class="modal-body text-center">
            <form action="account/ajax/gene_profile_save/" id="update_relation_request" method="post" onsubmit="return false;">
              <div class="margin-bottom-30 {{show}}">
                {{tips}}
              </div>
              <div class="report-list"></div>
            </form>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-allAncestryBox">
    <div class="modal fade alert-box all-ancestry-box parentage">
      <div class="modal-dialog max all-ancestry">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">我的全部祖源</h3>
          </div>
          <div class="modal-body text-center">
            {{content}}
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-communityappeal">
    <div class="modal fade alert-box community-appeal">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">申诉</h3>
          </div>
          <div class="modal-body text-center">
            <textarea class="form-control" name="" id="" cols="30" rows="5" placeholder="请输入申诉原因..."></textarea>
            <div class="margin-top-20">
              <a class="btn btn-primary">确定</a>
            </div>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-reportBox">
    <div class="modal fade alert-box report-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">{{title}}</h3>
          </div>
          <form id="quick_publish" onsubmit="return false;" method="post" action="question/ajax/save_report/">
            <input type="hidden" name="report_type" value="{{report_type}}"/>
            <input type="hidden" name="item_type" value="{{item_type}}"/>
            <input type="hidden" name="item_id" value="{{item_id}}"/>
            <div class="modal-body">
              <div class="alert alert-danger hide error_message">
                <i class="icon icon-delete"></i>
                <em></em>
              </div>
              <textarea class="form-control reason" name="reason" rows="5" placeholder="请填写{{title}}理由..."></textarea>
              <ul class="hide">
                <li>
                  <label>
                    <input type="radio" name="reason_label" value="涉及人身攻击"/> 涉及人身攻击
								</label>
                </li>
                <li>
                  <label>
                    <input type="radio" name="reason_label" value="包含国家法律法规等禁止的内容"/> 包含国家法律法规等禁止的内容
								</label>
                </li>
                <li>
                  <label>
                    <input type="radio" name="reason_label" value="包含暴力、色情等内容"/> 包含暴力、色情等内容
								</label>
                </li>
                <li>
                  <label>
                    <input type="radio" name="reason_label" value="言论过激，涉嫌引战"/> 言论过激，涉嫌引战
								</label>
                </li>
              </ul>
              <div class="text-center margin-top-20">
                <a class="btn btn-primary" onclick="AWS.ajax_post($('#quick_publish'), AWS.ajax_processer, 'error_message');return false;">确定</a>
              </div>
            </div>
          </form>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-thegeneBox">
    <div class="modal fade alert-box the-gene-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header"></div>
          <div class="modal-body">
            <div class="text-center margin-bottom-20">
						请在下方填写您的收货信息，<br/>以方便我们寄出
					</div>
            <form id="the_gene_exchange_form" method="post">
              <dl>
                <dt>E-mail</dt>
                <dd>
                  <input class="form-control email" type="text" name="email"/>
                </dd>
              </dl>
              <dl>
                <dt>收件人</dt>
                <dd>
                  <input class="form-control shipping_name" type="text" name="shipping_name"/>
                </dd>
              </dl>
              <dl>
                <dt>手机号码</dt>
                <dd>
                  <input class="form-control shipping_mobile" type="text" name="shipping_mobile"/>
                </dd>
              </dl>
              <dl>
                <dt>所在地区</dt>
                <dd class="province">
                  <select name="province" class="prov"></select>
                  <select name="city" class="city" disabled="disabled"></select>
                  <select name="dist" class="dist" disabled="disabled"></select>
                </dd>
              </dl>
              <dl>
                <dt>详细地址</dt>
                <dd>
                  <input class="form-control shipping_address" name="shipping_address" rows="3"/>
                </dd>
              </dl>
              <div class="alert alert-danger hide error_message margin-top-20">
                <i class="icon icon-delete"></i>
                <em></em>
              </div>
              <div class="text-center">
                <a style="width: 170px;height: 50px;line-height: 50px;background: #fb8e56;color: #fff;" class="btn btn-orange">兑换</a>
              </div>
            </form>
          </div>
        </div>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-ancestrySimilarity">
    <div class="modal fade alert-box ancestry-similarity-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">完善社会信息</h3>
          </div>
          <form id="quick_publish" onsubmit="return false;" method="post" action="surname/ajax/save_user_fill_info/">
            <input type="hidden" name="form" value="{{form_type}}"/>
            <input type="hidden" name="agreement" value="true"/>
            <input type="hidden" name="unique_id" value="{{unique_id}}"/>
            <dl>
              <dt>
							姓氏
						</dt>
              <dd>
                <input class="form-control" type="text" name="surname" value="{{surname}}"/>
              </dd>
            </dl>
            <dl>
              <dt>
							民族
						</dt>
              <dd>
                <select class="form-control population" name="population" id="">
                  <option value="汉族">汉族</option>
                  <option value="阿昌族">阿昌族</option>
                  <option value="鄂温克族">鄂温克族</option>
                  <option value="傈僳族">傈僳族</option>
                  <option value="水族">水族</option>
                  <option value="白族">白族</option>
                  <option value="高山族">高山族</option>
                  <option value="珞巴族">珞巴族</option>
                  <option value="塔吉克族">塔吉克族</option>
                  <option value="保安族">保安族</option>
                  <option value="仡佬族">仡佬族</option>
                  <option value="满族">满族</option>
                  <option value="塔塔尔族">塔塔尔族</option>
                  <option value="布朗族">布朗族</option>
                  <option value="哈尼族">哈尼族</option>
                  <option value="毛南族">毛南族</option>
                  <option value="土家族">土家族</option>
                  <option value="布依族">布依族</option>
                  <option value="哈萨克族">哈萨克族</option>
                  <option value="门巴族">门巴族</option>
                  <option value="土族">土族</option>
                  <option value="朝鲜族">朝鲜族</option>
                  <option value="蒙古族">蒙古族</option>
                  <option value="佤族">佤族</option>
                  <option value="达斡尔族">达斡尔族</option>
                  <option value="赫哲族">赫哲族</option>
                  <option value="苗族">苗族</option>
                  <option value="维吾尔族">维吾尔族</option>
                  <option value="傣族">傣族</option>
                  <option value="回族">回族</option>
                  <option value="仫佬族">仫佬族</option>
                  <option value="乌孜别克族">乌孜别克族</option>
                  <option value="德昂族">德昂族</option>
                  <option value="基诺族">基诺族</option>
                  <option value="纳西族">纳西族</option>
                  <option value="锡伯族">锡伯族</option>
                  <option value="东乡族">东乡族</option>
                  <option value="京族">京族</option>
                  <option value="怒族">怒族</option>
                  <option value="瑶族">瑶族</option>
                  <option value="侗族">侗族</option>
                  <option value="景颇族">景颇族</option>
                  <option value="普米族">普米族</option>
                  <option value="彝族">彝族</option>
                  <option value="独龙族">独龙族</option>
                  <option value="柯尔克孜族">柯尔克孜族</option>
                  <option value="羌族">羌族</option>
                  <option value="裕固族">裕固族</option>
                  <option value="俄罗斯族">俄罗斯族</option>
                  <option value="拉祜族">拉祜族</option>
                  <option value="撒拉族">撒拉族</option>
                  <option value="藏族">藏族</option>
                  <option value="鄂伦春族">鄂伦春族</option>
                  <option value="黎族">黎族</option>
                  <option value="畲族">畲族</option>
                  <option value="壮族">壮族</option>
                  <option value="其他">其他</option>
                </select>
              </dd>
            </dl>
            <dl class="native_province">
              <dt>
							祖籍地
						</dt>
              <dd>
                <select class="form-control prov" name="native_province" id=""></select>
                <select class="form-control city" name="native_city" id=""></select>
              </dd>
            </dl>
            <dl class="live_province">
              <dt>
							现居地
						</dt>
              <dd class="flex ">
                <select class="form-control prov" name="live_province" id=""></select>
                <select class="form-control city" name="live_city" id=""></select>
              </dd>
            </dl>
            <div class="alert alert-danger hide error_message">
              <i class="icon icon-delete"></i>
              <em></em>
            </div>
            <div class="text-center">
              <a onclick="AWS.ajax_post($('#quick_publish'), AWS.ajax_processer, 'error_message');" class="btn btn-primary">确定并参与</a>
            </div>
          </form>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-medalGetBox">
    <div class="modal fade alert-box medal-GetBox">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <img src="{{url}}/dist/new/common/medal/{{medalImg}}.png"/>
          </div>
          <div class="modal-body">
            <p class="font-weight-bold">恭喜你获得</p>
            <p class="font-weight-bold">{{name}}{{levelDescription}}勋章</p>
            <h6>获得条件：{{mdedalInfo}}</h6>
          </div>
          <a class="modal-detalis" href="{{detailUrl}}">&gt;查看勋章详情&lt;</a>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-riskCalBox">
    <div class="modal fade alert-box risk-cal-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">风险计算器</h3>
          </div>
          <div class="modal-body">
            <div id="riskSurveyElement" class="margin-bottom-30"></div>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-democase">
    <div class="modal fade alert-box demo-case-box">
      <div class="modal-dialog">
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">{{title}}</h3>
            <div class="text-center color-999">{{count}} 项报告</div>
          </div>
          <div class="modal-body clearfix text-center">
            <div class="drug-list report">
              {{#list}}
                <span>{{.}}</span>
              {{/list}}
            </div>
          </div>
        </div>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-cardTipsBox">
    <div class="modal fade card-tips-box">
      <div class="modal-dialog">
        <div class="modal-content text-center">
          <div class="modal-header">
            <h3 class="modal-title">选择到账银行卡</h3>
          </div>
          <div class="modal-body">
            <ul>
              {{#list}}
                <li>
                  <img src="{{url}}">
                  <div class="info">
                    <p class="card_number">{{card_number}}</p>
                    <p class="card-name">{{card_name}}</p>
                    <p class="hide card-id">{{card_id}}</p>
                  </div>
                </li>
              {{/list}}
            </ul>
            <a class="addcard" href="wallet/addcard/">
              <b>+</b>添加银行卡</a>
          </div>
        </div>
      </div>
      <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
    </div>
  </script>
  <script type="text/template" id="template-crowdsourcingInformBox">
    <div class="modal fade alert-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h3 class="modal-title text-center" id="myModalLabel">举报</h3>
          </div>
          <div class="modal-body clearfix text-center">
            <div class="mod-body">
              <div class="text-left">
                <ul>
                  <li>
                    <label>
                      <input type="radio" name="text" data-text="内容抄袭"/> 内容抄袭
									</label>
                  </li>
                  <li>
                    <label>
                      <input type="radio" name="text" data-text="严重错误"/> 严重错误
									</label>
                  </li>
                  <li>
                    <label>
                      <input type="radio" name="text" data-text="淫秽色情"/> 淫秽色情
									</label>
                  </li>
                  <li>
                    <label>
                      <input type="radio" name="text" data-text="违反国家相关法律法规"/> 违反国家相关法律法规
									</label>
                  </li>
                </ul>
              </div>
              <a class="btn btn-primary btn-submit">确定</a>
            </div>
          </div>
        </div>
      </div>
      <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
    </div>
  </script>
  <script type="text/template" id="template-crowdsourcingAward">
    <div class="modal fade card-tips-box">
      <div class="modal-dialog">
        <div class="modal-content text-center">
          <div class="modal-header">
            <h3 class="modal-title">赞赏</h3>
            <p class="pay-info margin-bottom-20">请选择赞赏金额（可使用“积分”兑换）</p>
          </div>
          <div class="modal-body award-panel">
            <div id="costList" class="btn-box">
              {{#costList}}
                <a data-award="{{.}}" class="btn btn-hollow">￥{{.}}</a>
              {{/costList}}
            </div>
            <div class="btn-box margin-top-30">
              <button  class="btn btn-award btn-primary btn-normal">立即赞赏</button>
            </div>
            <hr/>
            <div class="award-panel-info">
              <img src="{{avatarUrl}}" alt="">
              <span>{{userName}}</span>
            </div>
            <p class="award-msg margin-top-10 margin-bottom-0">您的赞赏将是对我的最大鼓励！</p>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-crowdsourcingPay">
    <div class="modal fade card-tips-box">
      <div class="modal-dialog">
        <div class="modal-content text-center pay-modal">
          <div class="modal-header margin-bottom-10">
            <h3 class="modal-title">{{title}}</h3>
            <p class="pay-info">需要支付：<span class="active">{{money}}元</span> 或 <span class="active">{{rate}}积分</span></p>
          </div>
          <div class="modal-body">
            <ul class="margin-bottom-0" >
              <li class="award-box pay-box ">
                <div class="award-info  clearfix">
                  <img class="pay-img" src="../../../static/dist/img/icon-wx.png">
                  <span class="award_name">微信</span>
                </div>
                <p class="award_money margin-bottom-0">
                  <i class="icon-right-s font-size-20"></i>
                </p>
              </li>
              <li class="award-box pay-box">
                <div class="award-info clearfix">
                  <img  class="pay-img ali-pay" src="../../../static/dist/img/icon-alipay.png">
                  <span class="award_name">支付宝</span>
                </div>
                <p class="award_money margin-bottom-0">
                  <i class="icon-right-s font-size-20 font-size-20"></i>
                </p>
              </li>
              <li class="award-box pay-box">
                <div class="award-info clearfix">
                  <img class="pay-img" src="../../../static/dist/img/icon-balance.png">
                  <span class="award_name">钱包余额（{{balance}}元）</span>
                </div>
                <p class="award_money margin-bottom-0">
                  <i class=" icon-right-s font-size-20"></i>
                </p>
              </li>
              <li class="award-box pay-box">
                <div class="award-info clearfix">
                  <img class="pay-img" src="../../../static/dist/img/icon-score.png">
                  <span class="award_name">积分余额（{{score}}积分）</span>
                </div>
                <p class="award_money margin-bottom-0">
                  <i class="icon-right-s font-size-20"></i>
                </p>
              </li>
            </ul>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-crowdsourcingOrder">
    <div class="modal fade alert-box aw-confirm-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header margin-bottom-20 text-center">
            <h3 class="modal-title" id="myModalLabel">{{title}}</h3>
          </div>
          <div class="modal-body text-center">
            {{message}}
          </div>
          <div class="modal-footer text-center">
            <a class="btn btn-gray yes margin-top-20">遇到问题</a>
            <a class="btn btn-primary yes margin-top-20">我的钱包</a>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-crowdsourcingProfit">
    <div class="modal fade alert-box aw-confirm-box">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header margin-bottom-20 text-center">
            <h3 class="modal-title" id="myModalLabel">{{title}}</h3>
          </div>
          <div class="modal-body text-center">
            {{message}}
          </div>
          <div class="modal-footer text-center">
            <a href="/wallet/" id="profit-btn" class="btn btn-primary yes margin-top-20">我的钱包</a>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
  <script type="text/template" id="template-crowdsourcingAwardList">
    <div class="modal fade card-tips-box">
      <div class="modal-dialog">
        <div class="modal-content text-center ">
          <div class="modal-header">
            <h3 id="count" class="award-model-title modal-title">{{count}} 个赞赏者</h3>
          </div>
          <div class="modal-body">
            <ul class="award-list-box" id="list-box">
              {{#list}}
                <li class="award-box award-box-item">
                  <div class="award-info clearfix">
                    <img src="{{avatar_url}}">
                    <span class="award_name">{{user_name}}</span>
                  </div>
                  <p class="award_money">{{cost}}元</p>
                </li>
              {{/list}}
            </ul>
          </div>
          <div class="page-control">
            <a  id="loadMore"   class="load-more-content">加载更多</a>
            <div id="noMore" class="margin-top-10 text-center color-999">没有更多了...</div>
          </div>
        </div>
        <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
      </div>
    </div>
  </script>
</div>
<script type="text/template" id="template-browserNotSupport">
  <div class="mod">
    <div class="mod-head">
      <img src="https://www.wegene.com/static/dist/img/logo.svg" width="190"/>
    </div>
    <div class="mod-body">
      <h2>您的浏览器版本较低, 请升级浏览器。</h2>
      <span>或下载以下浏览器</span>
      <ul>
        <li>
          <a href="http://www.opera.com/zh-cn" target="_blank">
            <img src="https://www.wegene.com/static/dist/img/opera.png" width="64"/>
						Opera
					</a>
        </li>
        <li>
          <a href="http://www.firefox.com.cn/download/" target="_blank">
            <img src="https://www.wegene.com/static/dist/img/firefox.png" width="64"/>
						Firefox
					</a>
        </li>
        <li>
          <a href="http://www.google.cn/intl/zh-CN/chrome/browser/desktop/index.html" target="_blank">
            <img src="https://www.wegene.com/static/dist/img/chrome.png" width="64"/>
						Chrome
					</a>
        </li>
      </ul>
    </div>
  </div>
</script>

<script type="text/template" id="template-banneractivityrecruits">
  <div class="modal fade alert-box banner-activity-recruits {{type}}">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <img width="100%" src="{{imgUrl}}"/>
        </div>
        <div class="modal-body text-center">
          <h2>
            {{{title}}}
          </h2>
          <p>
            {{desc}}
          </p>
          <div class="">
            <a class="btn btn-hollow" data-id="{{id}}">稍后提醒</a>
            <a onclick="window.location.href = '{{link}}'" class="btn btn-go">了解详情</a>
          </div>
          <div class="text-center">
            <a class="color-999 set-close" data-id="{{id}}">不再提示</a>
          </div>
        </div>
      </div>
      <a type="button" class="close icon icon-delete" data-dismiss="modal" aria-hidden="true"></a>
    </div>
  </div>
</script>